package org.sky.service;

import org.sky.base.DAO;
import org.sky.model.FileUtil;
import org.sky.vo.FileVO;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 12-11-7
 * Time: 下午6:40
 * To change this template use FileUtil | Settings | FileUtil Templates.
 */

public interface FileUtilService extends DAO {

    public boolean uploadFile(FileVO fileVO) throws Exception;

    public void backupFile(File file, String fileName, String savePathDir, String username);

    public FileUtil findByFileName(String fileName);

}
